import java.util.Scanner;

public class text4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你支付的钱");
        while (true) {
            int sum = sc.nextInt();
            if (sum >= 600) {
                System.out.println("支付成功!");
                break;
            } else {
                System.out.println("支付失败,请重新支付!");
            }
        }
    }
}
